package ch09.ex2_2_1_DeclaringFunctionsWithReifiedTypeParameters

/**
 * Created by caozp-ytcyc2007 on 2017/6/3.
 */

inline fun <reified T> isA(value: Any) = value is T

fun main(args: Array<String>) {
    println(isA<String>("abc"))
    println(isA<String>(123))
}